<!DOCTYPE html>
<html>
<#include "/views/ftl/base/manager_include.ftl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员列表</title>
<style>
A{
color: #333;
}

</style>
<script type="text/javascript">
$().ready(function() {
	$("#search_button").click(function(){
		$('#select_form').submit();
    });
});

</script>
</head>
<body style="background:#eef3f7;">
<#include "/views/ftl/base/head.ftl">
<div class="Main">
  <div class="dw">
<#include "/views/ftl/base/menu.ftl">
<#function a><#return "会员列表_List"></#function> 
<!--右边内容-->
<div class="Rightbox fl">
    <!--导航-->
    <div class="Bread_crbs clear">
      <div class="Bread_crbs_img fl"></div>
      <div class="Bread_crbs_text fl">
      	<a href="javascript:void(0);"><span>会员管理</span></a>
      	<span class="fnt_famy">></span>
      	<a href="javascript:void(0);"><span>会员列表</span></a>
      </div>
    </div>
    	
      <!--搜索框-->
        <form action="${basePath}manager/ShopCustomer_shopCustomerListPage" id="select_form"  method="GET"> 
        	
         	<div class="searchBox fl">
        		<span class=" searchTitle">手机号码:</span> 
          		<input class="search_text" type="text" name="customerPhoneNum" placeholder="请输入关键字 " value="${(requestVo.customerPhoneNum)!''}"/> 
            </div>
            <div class="searchBox fl">
        		<span class=" searchTitle">姓名:</span> 
          		<input class="search_text" type="text" name="customerName" placeholder="请输入关键字 " value="${(requestVo.customerName)!''}"/> 
            </div> 
            <a href="javascript:void(0);" id="search_button" class="search_btn fl" align="center"><span >搜索</span></a> 

        </form>

        
        <#--
    private String customerName;//姓名
    private String customerPhoneNum;//手机号码
    private Integer customerSex;//性别
    private String customerBrithDay;//生日
    
    private Double totalConsumeMoney;//总消费金额
    private Integer totalScore; //总积分
    private Integer surplusScore; //剩余剩余积分
    
    private Integer memberType;//1.普通    2.vip ShopCustomerMemberType 
    private String customerReMarks;  //备注
    
        -->
       
        <div class="clear"></div>  
        <!--表格列表-->
        <div class="Table">
          <table id="table" cellpadding="0" cellspacing="1">
            <tbody>
             <tr id="gl">		
             <td>姓名</td> 
             <td>手机号码</td> 
             <td>性别</td> 
             <td>生日</td> 
             <td>总消费金额</td> 
              <td>剩余积分</td> 
             <td>创建时间</td>
             <td>备注</td>
             </tr>
            <#if (pager.list??)> 
           <#if ((pager.list?size)>0)>
           <#list pager.list as shopCustomer>
     		<tr> 
          	<td>${shopCustomer.customerName!''}</td> 
             <td>${shopCustomer.customerPhoneNum!''}</td> 
             <td><#if shopCustomer.customerSex ==1 >男<#else>女</#if></td>  
             <td>${shopCustomer.customerBrithDay!''}</td>  
             <td>${shopCustomer.totalConsumeMoney!''}</td> 
             <td>${shopCustomer.surplusScore!''}</td> 
             <td>${shopCustomer.createTime!''}</td> 
             <td>${shopCustomer.customerReMarks!''}</td> 
          <#--  <td class="tbl_btn">
               <a href="${basePath}manager/ShopClerk_shopClerkInfo?shopClerkId="><span class="review_single_model" style="    background: #00ad55;">查看</span></a>
                <a href="javascript:void(0);"><span class="delete_single_model" data-id="" style="background: #FF0202;">删除</span></a>
                </td> -->
              </tr>
  			</#list>
          </#if>
          </#if>
            </tbody>
          </table>
        </div>
    <!--翻页按钮-->
  	<#import "../../base/pager.ftl" as p>
   	<@p.pager pager = pager baseUrl = "manager/ShopCustomer_shopCustomerListPage" parameterMap={"customerPhoneNum":(requestVo.customerPhoneNum)!'',"customerName":(requestVo.customerName)!'' } />
</div>
<script type="text/javascript">
$(document).ready(function(){
	
	 
	});

</script>
</body>
</html>

